home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / salert.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Salert(2)                 Dec. 16, 1992                 Salert(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Salert - print a warning or error message
  9.  
  10.  
  11. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  12.        void Salert( char *msg );
  13.  
  14.  
  15. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  16.        _✓S_✓a_✓l_✓e_✓r_✓t sends a warning or error message to the alert pipe,
  17.        U:\PIPE\ALERT.  The argument _✓m_✓s_✓g is a 0  terminated  ASCII
  18.        string  containing  the  message  to  be sent. The message
  19.        should not contain any  carriage  return,  line  feed,  or
  20.        escape  characters; it should be a simple one line warning
  21.        or error message which is to  be  brought  to  the  user's
  22.        attention.   The _✓S_✓a_✓l_✓e_✓r_✓t call takes whatever steps are nec-
  23.        essary to format this string and send it to the user;  the
  24.        exact  form  of  the output (or even whether the output is
  25.        seen at all) depends on the system configuration.
  26.  
  27.  
  28. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  29.        _✓C_✓c_✓o_✓n_✓w_✓s(2)
  30.  
  31.  
  32. B✓BU✓UG✓GS✓S
  33.        The message is not guaranteed to be delivered to the  user
  34.        (users may turn alert messages off). Therefore, absolutely
  35.        critical or fatal errors should be delivered to  the  user
  36.        in a different fashion.
  37.  
  38.  
  39.        Messages longer than 90 characters may be truncated; also,
  40.        if any word in the message is longer than 30 characters it
  41.        may not be printed in full (a word is any sequence of non-
  42.        blank characters).
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.98         MiNT Programmer's Manual                   1
  65.  
  66.  
  67.